<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            text-align: center;
            line-height: 100px;
            font-size: 40px;
        }
        .box1 {
            background-color: green;
            float: left;
        }

        .box2 {
            background-color: hotpink;
            float: left;
        }

        .box3 {
            background-color: red;
            float: left;
        }
       
    </style>
</head>
<body>

    <div class="box1">淡</div>
    <div class="box2">化</div>
    <div class="box3">喜</div>
</body>

</html>